package com.fire.control.system.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_warning_info_history")
public class WarningInfoHistory extends BaseEntity{
    
	private static final long serialVersionUID = 2808081198078346516L;


    private String warningId;

    private String deviceId;
    
    private String address;

    private Date startTime;

    private Date endTime;

    private String warningType;

    private String mqttMsg;


    public String getWarningId() {
        return warningId;
    }

    public void setWarningId(String warningId) {
        this.warningId = warningId == null ? null : warningId.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    

	public String getWarningType() {
		return warningType;
	}

	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}

	public String getMqttMsg() {
        return mqttMsg;
    }

    public void setMqttMsg(String mqttMsg) {
        this.mqttMsg = mqttMsg == null ? null : mqttMsg.trim();
    }
}